package com.kaesar.spring.controller;

import com.kaesar.spring.service.TableRouteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: chengk
 * @Date: 2021/9/13 12:22 下午
 */
@Slf4j
@RestController
public class TestController extends BaseController {

    @Autowired
    private TableRouteService tableRouteService;

    @GetMapping(path = "/test")
    public String test() {
        return "success";
    }

    @GetMapping(path = "/test2")
    public String test2() {
        return tableRouteService.test3();
    }

    private void hello() {

    }
}
